package week6.shiyi;

/**
 * Created by mc on 2017/4/2.
 */
class Test{
    public void run(){
        System.out.println("1 ");
    }
}
public class txt6 {
    public static void main(String[] arges)
    {
        Test someTest=new Test(){
            public void run(){
                System.out.println("2");
            }
        };
    }
}
